

		
<?php 

$group=$_GET['group'];


$schedulearr = array(
	'<span class="poppin">12</span><span>月</span><span class="poppin">9</span><span>日</span>' => array(
			array('time' => '08:30-18:00', 'content' => '球员签到', 'remark' => '酒店大堂'),
			array('time' => '09:00-12:00', 'content' => '官方练习轮', 'remark' => '<font class="poppin">AB</font>组:利百特球场<br/><font class="poppin">C</font>组:格诺曼球场'),
			array('time' => '14:00-16:00', 'content' => '试乘试驾', 'remark' => '球会景区试驾路线','isReg'=>1,'id'=>3)
	),
	'<span class="poppin">12</span><span>月</span><span class="poppin">10</span><span>日</span>' => array(
			array('time' => '08:30-11:00', 'content' => '球员签到', 'remark' => '酒店大堂'),
			array('time' => '08:00-13:00', 'content' => '官方练习轮', 'remark' => '<font class="poppin">AB</font>组:利百特球场<br/><font class="poppin">C</font>组:格诺曼球场'),
			//array('time' => '12:00-13:00', 'content' => '冯珊珊陪C组球员下场', 'remark' => '格诺曼球场'),
			array('time' => '11:00-12:00<br/>（套餐）<br/>13:00-14:00<br/>（自助餐）', 'content' => '午餐', 'remark' => '千树里餐厅<br/><font class="poppin">C</font>组:二者皆可选<br/><font class="poppin">AB</font>组:自助餐'),
			array('time' => '14:00-16:00', 'content' => '试乘试驾', 'remark' => '球会景区试驾路线','isReg'=>1,'id'=>3),
			array('time' => '14:00-15:00', 'content' => '球员会议', 'remark' => '国际会议中心3楼<br/>嘉阳厅&正阳厅'),
			array('time' => '15:30-16:10', 'content' => '<div style="display:in-line">冠军训练营（<font class="poppin">AB</font>组）<br/>嘉宾：冯珊珊</div>', 'remark' => '山顶练习场','isReg'=>$group==1?1:0,'id'=>1)
	),
	'<span class="poppin">12</span><span>月</span><span class="poppin">11</span><span>日</span>' => array(
			array('time' => '07:30', 'content' => '正赛第一轮', 'remark' => '利百特球场：<br/><font class="poppin">AB</font>组 <font class="poppin">Two Tee Start</font><br/>格诺曼球场：<br/><font class="poppin">C</font>组 <font class="poppin">Tee by Tee</font>'),
			//array('time' => '06:40-08:10', 'content' => '冯珊珊梯台鼓励问候球员', 'remark' => '格诺曼球场'),
			array('time' => '09:00-11:30', 'content' => '试乘试驾', 'remark' => '酒店大堂签到处','isReg'=>1),
			array('time' => '10:30-11:10', 'content' => '成长之路-家长分享会<br/>嘉宾：张星月', 'remark' => '酒店尊尚酒廊','isReg'=>1,'id'=>2),
			array('time' => '14:00-16:00', 'content' => '试乘试驾', 'remark' => '酒店大堂签到处','isReg'=>1),
			array('time' => '14:00-14:40', 'content' => '<div>冠军训练营（<font class="poppin">C</font>组）<br/>嘉宾：张星月</div>', 'remark' => '山顶练习场','isReg'=>$group==2?1:0,'id'=>1),
			array('time' => '15:30-16:30', 'content' => '成长之路-家长分享会<br/>嘉宾：吴所谓&马晓斌', 'remark' => '酒店尊尚酒廊','isReg'=>1,'id'=>2)
	),
	'<span class="poppin">12</span><span>月</span><span class="poppin">12</span><span>日</span>' => array(
			array('time' => '07:30', 'content' => '正赛第二轮', 'remark' => '利百特球场：<br/><font class="poppin">AB</font>组 <font class="poppin">Two Tee Start</font><br/>格诺曼球场：<br/><font class="poppin">C</font>组 <font class="poppin">Tee by Tee</font>'),
			array('time' => '09:00-11:30', 'content' => '试乘试驾', 'remark' => '酒店大堂签到处','isReg'=>1,'id'=>3),
			//array('time' => '13:30-14:00', 'content' => 'C组颁奖仪式', 'remark' => '酒店户外小草坪'),
			array('time' => '14:00-16:00', 'content' => '试乘试驾', 'remark' => '酒店大堂签到处','isReg'=>1,'id'=>3),
			array('time' => '14:00-14:40', 'content' => '成长之路-家长分享会<br/>嘉宾：成长教育专家&马晓斌', 'remark' => '酒店尊尚酒廊','isReg'=>1,'id'=>2),
			array('time' => '15:30-16:00', 'content' => '<font class="poppin">B/C</font>组颁奖仪式', 'remark' => '酒店户外小草坪'),
			
	),
	'<span class="poppin">12</span><span>月</span><span class="poppin">13</span><span>日</span>' => array(
			array('time' => '07:30', 'content' => '正赛第三轮', 'remark' => '利百特球场：<font class="poppin">A</font>组'),
			array('time' => '10:00-10:40', 'content' => '成长之路-家长分享会<br/>嘉宾：成长教育专家&马晓斌', 'remark' => '酒店尊尚酒廊','isReg'=>1,'id'=>2),
			array('time' => '14:00-16:00', 'content' => '试乘试驾', 'remark' => '酒店大堂签到处','isReg'=>1,'id'=>3),
			array('time' => 'A组比赛结束后30分钟', 'content' => '<font class="poppin">A</font>组颁奖仪式', 'remark' => '酒店户外小草坪')
	)
);

echo '<div style="font-size:22px;font-weight:500;text-align:center;margin-top:20px;">赛事日程</div>
<div style="font-size:16px; text-align:center;margin-bottom:20px;margin-top:20px;">时间：<span class="poppin">12</span>月<span class="poppin">9</span>日-<span class="poppin">12</span>月<span class="poppin">13</span>日</div>
    <div class="schedulelist">';

foreach($schedulearr as $d => $v){
    echo '<table class="scheduletable"><th colspan="3" style="font-weight:500;">'.$d.'</th>';
    foreach($v as $i => $content){
        echo '<tr>';
        echo '<td width="25%" class="poppin" style="text-align:center;">'.$content['time'].'</td>';
		if($content['isReg']){
        echo '<td width="45%" style="text-align:center;"><div style="position:relative;width:100%;height:100%;display:flex;justify-content:center;flex-direction:column;margin-top:3px;margin-bottom:3px;
		align-items:center;height:100%;"><div>'.$content['content'].'</div>'.($content['isReg']?('<div class="reg" onclick="gotoevent('.$content['id'].')">点击预约</div>'):'').' </div></td>';
		}
		else{
			 echo '<td width="45%" style="text-align:center;">'.$content['content'].' </div></td>';
		}
        echo '<td width="30%" style="text-align:center;">'.$content['remark'].'</td>';
        echo '</tr>';
    }
    echo '</table>';
}

echo '</div>';
?>
